package student.aistar.model.entity;


import java.sql.Date;

public class Evaluate {

  private Integer evaluateId;
  private Integer productId;
  private Integer userId;
  private String userName;
  private String userImg;
  private Integer orderId;
  private Integer start;
  private String content;
  private Integer evaluateType;
  private java.sql.Date createTime;
  private String createUser;
  private java.sql.Date updateTime;
  private String updateUser;


  public Evaluate() {
  }

  public Evaluate(Integer evaluateId, Integer productId, Integer userId, String userName, String userImg, Integer orderId, Integer start, String content, Integer evaluateType, Date createTime, String createUser, Date updateTime, String updateUser) {
    this.evaluateId = evaluateId;
    this.productId = productId;
    this.userId = userId;
    this.userName = userName;
    this.userImg = userImg;
    this.orderId = orderId;
    this.start = start;
    this.content = content;
    this.evaluateType = evaluateType;
    this.createTime = createTime;
    this.createUser = createUser;
    this.updateTime = updateTime;
    this.updateUser = updateUser;
  }

  public Integer getEvaluateId() {
    return evaluateId;
  }

  public void setEvaluateId(Integer evaluateId) {
    this.evaluateId = evaluateId;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserImg() {
    return userImg;
  }

  public void setUserImg(String userImg) {
    this.userImg = userImg;
  }

  public Integer getOrderId() {
    return orderId;
  }

  public void setOrderId(Integer orderId) {
    this.orderId = orderId;
  }

  public Integer getStart() {
    return start;
  }

  public void setStart(Integer start) {
    this.start = start;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Integer getEvaluateType() {
    return evaluateType;
  }

  public void setEvaluateType(Integer evaluateType) {
    this.evaluateType = evaluateType;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getCreateUser() {
    return createUser;
  }

  public void setCreateUser(String createUser) {
    this.createUser = createUser;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public String getUpdateUser() {
    return updateUser;
  }

  public void setUpdateUser(String updateUser) {
    this.updateUser = updateUser;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Evaluate{");
    sb.append("evaluateId=").append(evaluateId);
    sb.append(", productId=").append(productId);
    sb.append(", userId=").append(userId);
    sb.append(", userName='").append(userName).append('\'');
    sb.append(", userImg='").append(userImg).append('\'');
    sb.append(", orderId=").append(orderId);
    sb.append(", start=").append(start);
    sb.append(", content='").append(content).append('\'');
    sb.append(", evaluateType=").append(evaluateType);
    sb.append(", createTime=").append(createTime);
    sb.append(", createUser='").append(createUser).append('\'');
    sb.append(", updateTime=").append(updateTime);
    sb.append(", updateUser='").append(updateUser).append('\'');
    sb.append('}');
    return sb.toString();
  }
}
